/*
 * Copyright (c) 2012-2014, EpicSaaS Yuan Xin technology Co., Ltd.
 * 
 * All rights reserved.
 */
package com.epicsaas.app.ksdapp.android.bean;

/**
 * @author fbl 
 *  待评价列表
 */
public class Reviews {

    /** 订单子项Id  */
    private long id;

    /** 数量 */
    private int quantity;

    /** 价格 */
    private float price;

    /** 是否评价  */
    private boolean reviewStatus;

    /** 是否晒单  */
    private boolean sunSingleStatus;

    /** sku  */
    private Product item;

    /**
     * @return the id
     */
    public long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(long id) {
        this.id = id;
    }

    /**
     * @return the quantity
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * @param quantity the quantity to set
     */
    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    /**
     * @return the price
     */
    public float getPrice() {
        return price;
    }

    /**
     * @param price the price to set
     */
    public void setPrice(float price) {
        this.price = price;
    }

    /**
     * @return the reviewStatus
     */
    public boolean isReviewStatus() {
        return reviewStatus;
    }

    /**
     * @param reviewStatus the reviewStatus to set
     */
    public void setReviewStatus(boolean reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    /**
     * @return the sunSingleStatus
     */
    public boolean isSunSingleStatus() {
        return sunSingleStatus;
    }

    /**
     * @param sunSingleStatus the sunSingleStatus to set
     */
    public void setSunSingleStatus(boolean sunSingleStatus) {
        this.sunSingleStatus = sunSingleStatus;
    }

    /**
     * @return the product
     */
    public Product getProduct() {
        return item;
    }

    /**
     * @param product the product to set
     */
    public void setProduct(Product product) {
        this.item = product;
    }

    public Reviews(long id, int quantity, float price, boolean reviewStatus, boolean sunSingleStatus, Product product) {
        super();
        this.id = id;
        this.quantity = quantity;
        this.price = price;
        this.reviewStatus = reviewStatus;
        this.sunSingleStatus = sunSingleStatus;
        this.item = product;
    }

    public Reviews() {
        super();
    }

    @Override
    public String toString() {
        return "Reviews [id=" + id + ", quantity=" + quantity + ", price=" + price + ", reviewStatus=" + reviewStatus
                + ", sunSingleStatus=" + sunSingleStatus + ", product=" + item + "]";
    }

}
